package org.adorsys.aderp.catal.domain;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaEntity
public class CatalogData {

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Unit> units = new HashSet<Unit>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<DiscountType> discountTypes = new HashSet<DiscountType>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Discount> discounts = new HashSet<Discount>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ProductType> productTypes = new HashSet<ProductType>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<OrgaPersonRef> orgaPersonRefs = new HashSet<OrgaPersonRef>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Manufacturer> manufacturer = new HashSet<Manufacturer>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ProductClass> productClasses = new HashSet<ProductClass>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Conditioning> conditionings = new HashSet<Conditioning>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ContainerType> containerTypes = new HashSet<ContainerType>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Container> containers = new HashSet<Container>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<SubContainer> subContainers = new HashSet<SubContainer>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Product> products = new HashSet<Product>();
}
